package com.mhc.suzuki.dal.mapper.ext;

import com.mhc.suzuki.bo.PaymentDetailBO;
import com.mhc.suzuki.bo.PaymentNotificationQueryBO;
import com.mhc.suzuki.dal.mapper.PaymentRequestMapper;
import com.mhc.suzuki.dal.model.PaymentRequestDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for PaymentRequest.
 */

@Mapper
@Repository
public interface PaymentRequestExtMapper extends PaymentRequestMapper {

  /**
   * select by order no.
   */
  PaymentRequestDO selectByOrderNo(String orderNo);


  List<PaymentNotificationQueryBO> queryPaymentRequestByMap(Map<String, Object> map);

  Integer queryTotalCount(Map<String, Object> map);

  /**
   * 根据订单号查询打款通知详情页
   *
   * @param orderNo
   * @return
   */
  PaymentDetailBO queryPaymentDetailByOrderNo(String orderNo);
}
